<div class="account">
  <!--搜索框-->
  <div class="search-inp clearfix">
    <input type="text" placeholder="请输入账号" ng-model="requestParams.user_login_name">
    <button class="btn-search font-white" ng-click="onSearch()">查询</button>
    <button class="btn-yellow font-white fr" data-toggle="modal" ng-click="addAccountInfo()">创建账号</button>
  </div>
  <!--列表-->
  <table class="list-table text-c table table-striped">
    <thead class="bg-green font-white">
      <tr>
        <th>账号</th><th>角色</th><th>姓名</th><th>手机号</th><th>操作</th>
      </tr>
    </thead>
    <tbody>
      <tr ng-repeat="item in adminList">
        <td ng-bind="item.login_name"></td>
        <td ng-bind="item.role_name"></td>
        <td ng-bind="item.user_name"></td>
        <td ng-bind="item.user_phone"></td>
        <td class="font-yellow cursor">
          <span data-toggle="modal" ng-click="editAccountInfo(item)">修改</span>
          <span>|</span>
          <span ng-click="deleteAccountInfo(item.id)">删除</span>
          <span ng-if="item.role_list == 33">|</span>
          <span ng-if="item.role_list == 33" ng-click="linkAccount(item)">关联柜员</span>
        </td>
      </tr>
    </tbody>
  </table>
  <app-page current="currentPage" totals="totalPage" ng-if="totalPage > 1" fn="changePage"></app-page>
  <!--模态框创建，修改账号 和 关联柜员-->
  <pop-up name="{{popUpTitle}}" show="show" list="popUpList" tip="{{errorTip}}" on="submitAccountInfo()"></pop-up>
</div>
